<div class="container">
  <div class="formlyWrapper-Base span3">
    <h4>Reservas</h4>
    <div class="formlyWrapper-content formlyWrapper-Base">

      <?php if (is_null($reservas_que_se_retiran)): ?>
        No hay reservas...
      <?php else: ?>

        <?php foreach ($reservas_links as $key => $link): ?> 
          <?php echo link_to1($reservas_que_se_retiran[$key], $link) ?><br>
        <?php endforeach; ?>
      <?php endif; ?>

    </div>   
  </div>
  <div class="formlyWrapper-Base span3"><h4>Prestamos</h4>
    <div class="formlyWrapper-content formlyWrapper-Base">
      <?php if (is_null($prestamos_que_vencen)): ?>
        No hay prestamos...
      <?php else: ?>

        <?php foreach ($prestamos_links as $key => $link): ?>
          <?php echo link_to1($prestamos_que_vencen[$key], $link) ?><br>
        <?php endforeach; ?>

      <?php endif; ?>
    </div>
    <span>Total (<?php echo BbPrestamoPeer::getCantidadPrestamosActivos() ?>)</span>
    <?php echo link_to('Ver todos', 'bb_prestamo/indexActivos', array('class' => 'vet-todo')); ?>   
    <div class="clear"></div>
  </div>
  <div class="formlyWrapper-Base span3">
    <h4>Ultimos comentarios</h4>
    <div class="formlyWrapper-content formlyWrapper-Base">
      <?php if (is_null($ultimos_comentarios)): ?>
        No hay comentarios...
      <?php else: ?>
        <?php foreach ($ultimos_comentarios as $comentario): ?>
          <div class="comentario">
            <a title="Editar comentario" href="<?php echo url_for('ct_documento_comentario_edit' , $comentario); ?>" class="edit-btn"><i class="icon-edit"></i></a>
            <strong><?php echo $comentario->getPersona().":" ?></strong>
            <?php echo $comentario->getComentarioReducido(200) ?>
          </div>
        <?php endforeach; ?>
      <?php endif; ?>
    </div>
  </div>
</div>